((${input$entity} instanceof PlayerEntity)?((PlayerEntity)${input$entity}).abilities.isCreativeMode:false)